package com.hqyj.pojo;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * (Type)实体类
 *
 * @author makejava
 * @since 2021-08-12 09:32:40
 */
public class Type implements Serializable {
    private static final long serialVersionUID = 518108164694611217L;

    private String typeName;
    private List<Type2> nextType;

    public Type() {
    }

    public Type(String typeName, List<Type2> nextType) {
        this.typeName = typeName;
        this.nextType = nextType;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public List<Type2> getNextType() {
        return nextType;
    }

    public void setNextType(List<Type2> nextType) {
        this.nextType = nextType;
    }

    @Override
    public String toString() {
        return "Type{" +
                "typeName='" + typeName + '\'' +
                ", nextType=" + nextType +
                '}';
    }
}
